package com.stars.pao.aicloud.util;

import cn.hutool.crypto.SecureUtil;
import jakarta.servlet.http.HttpServletRequest;

public class NameUtil {

    //获取验证码的文件名
    public static String getCaptchaName(HttpServletRequest request) {
        return "captcha-" + SecureUtil.md5(request.getRemoteAddr());
    }

}

